package cn.damai.search.baseService;

import cn.damai.model.Scheduler;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface BaseSchedulerService {

    public Scheduler getSchedulerById(@RequestParam("id") Long id);

    public List<Scheduler>	getSchedulerListByMap(@RequestParam Map<String, Object> param);

    public Integer getSchedulerCountByMap(@RequestParam Map<String, Object> param);

    public Integer qdtxAddScheduler(@RequestBody Scheduler Scheduler);
 
    public Integer qdtxModifyScheduler(@RequestBody Scheduler Scheduler);

}
